import request from '@/utils/request'

// 查询劳动级别配置列表
export function listProldjb(query) {
  return request({
    url: '/project/proldjb/list',
    method: 'get',
    params: query
  })
}

// 查询劳动级别配置详细
export function getProldjb(id) {
  return request({
    url: '/project/proldjb/' + id,
    method: 'get'
  })
}

// 新增劳动级别配置
export function addProldjb(data) {
  return request({
    url: '/project/proldjb',
    method: 'post',
    data: data
  })
}

// 修改劳动级别配置
export function updateProldjb(data) {
  return request({
    url: '/project/proldjb',
    method: 'put',
    data: data
  })
}

// 删除劳动级别配置
export function delProldjb(id) {
  return request({
    url: '/project/proldjb/' + id,
    method: 'delete'
  })
}
